home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
GRAPHICS
/
TOOLS
/
SPRVIEW
/
!SprView
/
!Help
< prev
next >
Wrap
Text File
|
1993-08-17
|
10KB
|
256 lines
// ----------------------------------------------------------------------------
// !SPRITEVIEW (VERSION 0.21) !HELP FILE
// ----------------------------------------------------------------------------
// Note: Additions since version 0.16 can be seen easily in the history file
!SpriteView is a simple sprite viewer. I know there are a lot of them about
but hopefully this has a few different features.
I wrote !SpriteView because I wasn't happy with the facilities given by most
sprite viewers and backdrop utilities. I wanted to be able to have
'frontdrops' as well as 'backdrops' and to be able to view sprites without a
title bar, scroll areas, etc. This application provides that and a little
more but still remains *simple* (don't be fooled by the size of this !help
file).
Using !SpriteView, you can easily create collages of sprites by placing
sprites side by side and 'grabbing' the result.
Using !SpriteView, you can grab the (visible) contents of a tasks window
(including the iconbar or the backdrop) as a sprite or grab an area of the
screen.
// ----------------------------------------------------------------------------
// MAIN FEATURES
Even though sprites appear inside !SpriteView with no title bar, scroll bars
or icons, the sprite can be:
• moved around the screen
Simply drag the sprite. Select brings the window to the
front while Adjust leaves it where it is in relation to the
other windows
• put to the back
DoubleClick on the sprite. To bring it to the front, press
Select or Adjust over the sprite for a short period.
• resized
Alt-drag the sprite (that is, start the drag with either Alt
key down). You can move any side of the frame by starting
the drag with Select closest to the side you want. Any
corner can be moved by using Adjust to start the drag in the
corner of your choice.
• shifted inside its transparent frame
Shift-drag the sprite. Some of the sprite must be hidden
from view inside the frame for this to work. If you drag
with Select, the sprite may be shifted only horizontally or
vertically, depending on the initial direction of the drag.
If you drag with Adjust, the sprite may be shifted in any
direction.
• kept static while its frame is moved
To get the effect that the frame really is a window onto the
sprite, Ctrl-drag allows you to move the frame while the
sprite remains in the same position on the screen. As with
other drags, use Adjust to allow bi-directional scrolling.
• locked into position
Choose "Lock" from that sprite's menu. The sprite will now
resist all (documented!) attempts to move it though it will
not resist being moved about in the stack (and double-click
will still work).
To unlock the sprite, choose "Unlock".
• stuck in front or at the back
Choose "Stick->To top" or "Stick->To bottom" from the
sprite's menu. The sprite will now keep itself at the back
of all the windows or in front of them. You can still move
the sprite around or shift it inside its frame.
To temporarily stop the sprite from adjusting it's position
on the window stack hold down a key (I suggest Shift, Ctrl
or Alt). You will find this handy to get at the sprite's
menu when you have selected "Stick->To top".
The sprite may appear temporarily behind or infront of
another window when it shouldn't but will correct itself
soon enough.
To unstick a sprite, choose "Stick->Unstick" (which appears
when the sprite is stuck).
You can also:
• grab sprites
From the iconbar menu, choose 'Grab->Area' to select an
area of the screen as a sprite or choose 'Grab->Contents'
to select a task's window *contents* as a sprite.
Once a menu entry has been chosen, the pointer will change
shape. At any time, you can press Menu to abort the grab.
Click Select to mark one corner of the area or to choose
which window you require to be grabbed.
For a screen area grab you now move the mouse to the
opposite corner of the desired area and click Select, or
click Adjust to move the initial corner to the current
position (click Menu to abort the grab).
Note that the area currently selected for grabbing will be
inverted until the final mouse click.
• have a number of copies of the same sprite on the screen
To do this, select "New view" from that sprite's menu. All
sprites will be completely independent of one another but
taking up no extra space.
See also 'Key Shortcuts' below.
• select individual sprites from a large sprite file
Ctrl-doubleclicking on the sprite file or ctrl-dragging it
to !SpriteView's icon will prompt !SpriteView to open a file
information window. This window is explained in detail below
in the section 'File Information Windows'.
• remove sprites from !SpriteView
To remove a sprite, press Menu on the sprite and choose
"Remove". If you go to the Remove submenu, you can choose
to remove the sprite you were pointing at, all copies of this
sprite or all sprites in !SpriteView.
See also 'Key Shortcuts' below.
// ----------------------------------------------------------------------------
// KEY SHORTCUTS
If the mouse is clicked on a sprite window, it gains the input focus and accepts
the following key strokes:
^B - Put to back.
^C - Crop.
^F - Bring to front.
^O - Open the sprite window fully.
^N - New View.
^R - Remove Sprite.
The arrow keys flip the sprite.
// ----------------------------------------------------------------------------
// FILE INFORMATION WINDOWS
File information windows allow you to select individual sprites from large
sprite files without loading any sprites until you select one/some to view.
These windows can be obtained by ctrl-dragging a sprite file onto
!SpriteView's icon or ctrl-doubleclicking on the sprite file.
When the window opens, you will be able to see the size of the file and the
number of sprite definitions it contains along with a long list of sprite
names. If you click Select on a button next to a sprite name, that sprite
will be loaded. !SpriteView will beep if that sprite's window is already
being displayed.
To remove a sprite from display, click Adjust on the button next to the name.
!SpriteView will beep if the window opened is no longer on display.
// ----------------------------------------------------------------------------
// A NOTE ON MEMORY USAGE
!SpriteView uses a heap but as yet not a shifting heap. Memory is released from
its WimpSlot when a page (or more) is freed at the end of this space.
If you need reduce the amount of memory !SpriteView is using you can:
• Remove all sprites and close all sprite file information windows.
This is the second most obvious option.
• Save sprites from !SpriteView into itself and delete the originals.
This is handy if you have cropped a sprite and removed the original
since the original sprite will have left a chunk of free space which
might reside lower in the free space than the new cropped section.
Also, grabbed sprites are likely to take up more memory when first
grabbed than they really need so saving, removing and resaving them
might save you some space if you're desperate.
• Quit !SpriteView
The most obvious option!
// ----------------------------------------------------------------------------
// HOW TO START SPRITE VIEW
To load the application, double-click on the !SpriteView icon.
To load a sprite into the application, drag a Sprite file from the desktop
onto the icon on the icon bar.
General manipulation of loaded sprites is detailed above.
To quit the application choose "Quit" from the iconbar menu or from the task
display entry "Sprite View".
// ----------------------------------------------------------------------------
// COMMENTS AND SUGGESTIONS WELCOME!!!!
If you have any comments or suggestions then please let me know. I'm
currently on holiday from University without direct access to the network
but will be available by acoustic mail.
My term-time email address is:
m91jjs@ecs.oxford.ac.uk
My home address is:
Mr Joss Smith
34 Ivythorn Road
Street
Somerset BA16 0TF
ENGLAND
Please note: This release has been based on the information in the RO2 PRM's.
I haven't got the RO3 ones yet (and won't less I get some cash!)
Thanks got to Ian Fry (for looking over version 0.15) and Mike Borcherds for
getting !SprView onto an archive.
I'd also like to congratulate Thomas Aeby for giving me a life line - a
FREEWARE C/C++ compiler (since the first release of this application I've
started using release B of GCC).
// ----------------------------------------------------------------------------
// LEGAL(ISH) SPIEL
This application is freeware. I retain copyright but allow free
distrubution of this Software provided all documentation is kept in its
original state and distributed as part of the Software.
This Software is not to be sold for profit and any party interested in
distributing it for profit must receive written permission from the author.
// ----------------------------------------------------------------------------
// OH AND...
If you should feel like sending me donations (£5.00 upwards) I'll
consider sending you the latest version (or the next one that I feel
is fairly stable and has some new features) though I might just
fall asleep.
// ----------------------------------------------------------------------------